package com.moto.service.impl;

import com.moto.entity.RotationS;
import com.moto.mapper.RotationSMapper;
import com.moto.service.IRotationSService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商场轮播图 服务实现类
 * </p>
 *
 * @author hyf
 * @since 2023-09-03
 */
@Service
public class RotationSServiceImpl extends ServiceImpl<RotationSMapper, RotationS> implements IRotationSService {

    @Autowired
    private RotationSMapper rotationSMapper;
    @Override
    public List<RotationS> finALL() {
        return rotationSMapper.findAll();
    }
}
